package com.hz.beans.user.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hz.common.beans.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @tableName t_consu_reply
 * @author mcz
 * @since [0.0.1]
 * @version [0.0.1,2018年10月23日]
 */
@ApiModel(value = "TConsuReply")
public class TConsuReply extends BaseEntity {
    private static final long serialVersionUID = 1L;

    //父级id 对应咨询id
    @ApiModelProperty(value = "父级id 对应咨询id", required = false)
    private Long parentId;

    //子级id   对应咨询id
    @ApiModelProperty(value = "子级id   对应咨询id", required = false)
    private Long childId;

    /**
     * 获取父级id 对应咨询id
     *
     * @return parent_id - 父级id 对应咨询id
     */
    public Long getParentId() {
        return parentId;
    }

    /**
     * 设置父级id 对应咨询id
     *
     * @param parentId 父级id 对应咨询id
     */
    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    /**
     * 获取子级id   对应咨询id
     *
     * @return child_id - 子级id   对应咨询id
     */
    public Long getChildId() {
        return childId;
    }

    /**
     * 设置子级id   对应咨询id
     *
     * @param childId 子级id   对应咨询id
     */
    public void setChildId(Long childId) {
        this.childId = childId;
    }
}